package source;

import java.util.LinkedList;


public class DataManager {

	private static int MINDISTANCE = 150;
	private static int MAXDISTANCE = 20; // multiplied by speed
	private static int MAXHEIGHTDIFFERENCE = 100;
	private static int EXTRABUILDINGWIDTH = 300;
	private static int MINBUILDINGWIDTH = 600;
	private static int BUILDINGHEIGHT = 8000;

	public int score = 0;
	private static DataManager instance = null;

	public int offsetX = 0;
	public int offsetY = 300;

	public float speed = 10;
	public int distance = 0;
	public LinkedList<HitableObject> objects = new LinkedList<HitableObject>();
	public LinkedList<HitableObject> toAdd = new LinkedList<HitableObject>();
	public LinkedList<HitableObject> toDelete = new LinkedList<HitableObject>();
	

	protected DataManager() {
		// Exists only to defeat instantiation.
	}

	public static DataManager getInstance() {
		if (instance == null) {
			instance = new DataManager();
			instance.init();
		}
		return instance;
	}

	private void init() {
		
	}



}